import {combineReducers}                from 'redux';

import {VOUCHER}                        from '../constants';
import {reduceSuccess, returnSuccess}   from '../utils/Reducer';

export default combineReducers({

    'new': reduceSuccess([], VOUCHER.new),
    used: reduceSuccess([], VOUCHER.used),
    count: reduceSuccess('0', VOUCHER.count),
    expire: reduceSuccess([], VOUCHER.expire),

})
